<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.7, maximum-scale=1.0, user-scalable=no">
    <title>疑难解答</title>
    <style>
        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
            line-height: 1.8;
            color: #2d3748;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        h1 {
            text-align: center;
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            margin: 0 0 2.5rem;
            color: #2c3e50;
            position: relative;
            padding-bottom: 1rem;
        }

        h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #4f6df5 0%, #3a56e6 100%);
            border-radius: 2px;
        }

        h2 {
            font-size: clamp(1.5rem, 4vw, 1.8rem);
            margin: 2.5rem 0 1.5rem;
            color: #2c3e50;
            position: relative;
            padding-left: 24px;
        }

        h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 24px;
            background: #4f6df5;
            border-radius: 3px;
        }

        h3 {
            font-size: clamp(1.3rem, 3.5vw, 1.5rem);
            margin: 2rem 0 1.2rem;
            color: #34495e;
            position: relative;
            padding-left: 24px;
        }

        h3::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 18px;
            background: #a0aec0;
            border-radius: 2px;
        }

        .text {
            margin-bottom: 2rem;
            text-indent: 2em;
            font-size: clamp(1rem, 3vw, 1.1rem);
            color: #4a5568;
            padding: 1.8rem;
            background: white;
            border-radius: 16px;
            box-shadow: 0 6px 20px rgba(148, 163, 184, 0.12);
            transition: transform 0.3s ease;
        }

        .text:hover {
            transform: translateY(-2px);
        }

        .error-code {
            font-family: 'Fira Code', monospace;
            background: #fff5f5;
            padding: 0.3rem 0.8rem;
            border-radius: 6px;
            color: #c53030;
            font-weight: 600;
            border: 1px solid #fed7d7;
        }

        .tip {
            margin: 2rem 0;
            padding: 1.8rem;
            background: #f0fdf4;
            border-left: 5px solid #86efac;
            border-radius: 12px;
            color: #22543d;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(134, 239, 172, 0.1);
        }

        .warning {
            margin: 2rem 0;
            padding: 1.8rem;
            background: #fff5f5;
            border-left: 5px solid #fc8181;
            border-radius: 12px;
            color: #c53030;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(252, 129, 129, 0.1);
        }

        a {
            color: #4f6df5;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: #4f6df5;
            transition: width 0.3s ease;
        }

        a:hover {
            color: #3a56e6;
        }

        a:hover::after {
            width: 100%;
        }

        a[target="_blank"]::after {
            content: none;
        }

        a[target="_blank"] {
            padding-right: 1.2rem;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234f6df5" width="16px" height="16px"><path d="M18 11V3H6v18h12V11zm-5 2h1.984v5.016H9.016V9.016h5.968V8H8.016v9.969h6.031v-1.984z"/></svg>') no-repeat right center;
            background-size: 16px;
        }

        .back-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            background: linear-gradient(90deg, #4f6df5 0%, #3a56e6 100%);
            color: white;
            font-size: clamp(1rem, 3vw, 1.1rem);
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 3rem;
            box-shadow: 0 4px 12px rgba(79, 109, 245, 0.3);
        }

        .back-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(79, 109, 245, 0.4);
        }

        .back-button::before {
            content: "< ";
            margin-right: 8px;
        }

        @media (max-width: 768px) {
            body {
                padding: 2rem 1.5rem;
            }

            h1 {
                margin: 0 0 2rem;
            }

            h2, h3 {
                padding-left: 20px;
            }

            h2::before, h3::before {
                width: 4px;
            }

            .text, .tip, .warning {
                padding: 1.5rem;
                font-size: 1rem;
            }

            .back-button  {
                display: none;
            }
        }
    </style>
</head>
<body>
    <main>
        <div class="back-button" onclick="window.history.back()">返回上一页</div>

        <!-- 疑难解答 -->
        <h1 id="faq">FinalSuspect 疑难解答</h1>

        <!-- 兼容性 -->
        <h2 id="compatibility">Final Suspect兼容其它模组吗?</h2>
        <div class="text">
            <p><mark>不考虑、不适配、不兼容</mark>。</p>
        </div>

        <!-- 安装 -->
        <h2 id="no-installer">最新版本没有安装包，我该如何安装?</h2>
        <div class="text">
            <p>您可以下载上一个版本的安装包，随后按照正常方式安装Final Suspect。<br>
            随后Final Suspect应该会要求你更新，照流程更新即可。<br>
            随后Final Suspect应该会要求你更新，照流程更新即可。</p>
            <p>如果没有提示（可能是因为OpenBeta），您可以<a href="Guide/Update" target="_blank" rel="noopener noreferrer">根据更新教程手动更新</a>。</p>
        </div>

        <!-- 客户端错误 -->
        <h2 id="client-error">Among Us客户端提示错误</h2>

        <h3 id="ErrSteamWorksAuthFail">错误代码: <span class="error-code">ErrSteamWorksAuthFail</span></h3>
        <div class="text">
            <p>请<mark>启动Steam后再打开Among Us</mark>。请<mark>启动Steam后再打开Among Us</mark>。<br>
            如果您将Final Suspect安装在了官方目录，可以直接通过Steam来打开Among Us。</p>
        </div>

        <h3 id="ErrFriendCodeFail">错误代码: <span class="error-code">ErrFriendCodeFail</span></h3>
        <div class="text">
            <p>从服务器获取好友代码失败。<br>
            请<mark>重启Among Us</mark>以重试登录。<br>
            请<mark>重启Among Us</mark>以重试登录。</p>
        </div>

        <h3 id="NoConnectionError">错误代码：<span class="error-code">NoConnectionError</span></h3>
        <div class="text">
            <p>网络问题。网络问题。<br>
            请<mark>重启Among Us</mark>以重试登录。</p>
        </div>

        <h3 id="login-need-sometimes">无错误代码提示,但提示`登录需要一点时间`</h3>
        <div class="text">
            <p>网络问题。网络问题。<br>
            请<mark>重启Among Us并确认你是否挂了加速器</mark>。</p>
            <div class="tip">
                <p>部分情况可能需要挂代理(VPN)。</p>
            </div>
        </div>

        <!-- 服务器连接 -->
        <h2 id="cannot-connect-to-server">无法连接到Final Suspect服务器</h2>
        <div class="text">
            <p>请检查你的网络。</p>
            <div class="warning">
                <p>在1.1_20250501 - 后续的2个OpenBeta版本中，<mark>无法连接服务器实际上是一个Bug</mark>。<br>
                该问题会在后续的OpenBeta版本中修复。<br>
                该问题会在后续的OpenBeta版本中修复。</p>
            </div>
        </div>

        <!-- 老版本兼容性 -->
        <h2 id="old-version-compatibility">老版本Final Suspect对新版本Among Us的兼容性</h2>
        <div class="text">
            <p><mark>无法保证</mark>新版兼容性，即使其是Final Suspect的最新版本。<br>
            但我们相信，等到有人在中国发明推广了时空穿梭技术后，我们就可以在Innersloth推送新版Among Us前就适配了。<br>
            但我们相信，等到有人在中国发明推广了时空穿梭技术后，我们就可以在Innersloth推送新版Among Us前就适配了。</p>
        </div>
    </main>
</body>
</html>